Skip to content

Add ActionTools to exported API and support simultaneous actions#3187

Open
SanjulaGanepola wants to merge 13 commits into
masterfrom
feature/actions-api
Open

Add ActionTools to exported API and support simultaneous actions#3187
SanjulaGanepola wants to merge 13 commits into
masterfrom
feature/actions-api

Conversation

@SanjulaGanepola
Copy link
Copy Markdown
Member

Changes

  • Added path property to task definitions: The impact of this is that we can run multiple compiles at the same time. This change also means that a new task terminal is only reused for actions targeting the same target path.
  • Add ActionTools to exported API to support other extensions retrieving usable actions
  • Replace boolean return type for running actions with ActionResult to support more detailed results being accessible to other extensions starting actions

How to test this PR

  1. Run an action on a some file A
  2. Run an action on a different file B
  3. Observe that there is 2 task terminals for A and B
  4. Re-compile A and observe that its task terminal was re-used

Checklist

  • have tested my change

rapra41 and others added 11 commits December 4, 2025 16:56
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 13, 2026

👋 A new build is available for this PR based on 663eb47.

@SanjulaGanepola SanjulaGanepola requested a review from a team May 14, 2026 15:47
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
@SanjulaGanepola SanjulaGanepola temporarily deployed to testing_environment May 14, 2026 15:58 — with GitHub Actions Inactive
Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
@SanjulaGanepola SanjulaGanepola temporarily deployed to testing_environment May 14, 2026 16:11 — with GitHub Actions Inactive
@worksofliam
Copy link
Copy Markdown
Member

@SanjulaGanepola can you also run the runtime tests and share the results here?

@SanjulaGanepola
Copy link
Copy Markdown
Member Author

@worksofliam I ran the tests (against this branch and master) and looks like there are already failing test cases due to the temp directory change. I opened an issue to track resolving those here: #3197

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants